<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>Moe Exercises|Exercise 41</title>
    </head>
<body>
<div onmousedown="mDown(this)"	onmouseup="mUp(this)"	style="background-color:#D94A38;width:90px;height:20px;padding:40px;">ClickMe</div>

<script>
function mDown(obj)
{
	obj.style.background="blue";
	obj.innerHTML="Release Me";
}
function mUp(obj)
{
	obj.style.background="yellow";
	obj.innerHTML="Thank you";
}
</script>
</body>
</html>